package aiku.numericalcontroloa.Service;

import aiku.numericalcontroloa.Base.Utils.Result;
import aiku.numericalcontroloa.Model.Dto.PurchaseReceiptsDto;
import aiku.numericalcontroloa.Model.Entity.Devices;
import aiku.numericalcontroloa.Model.Entity.PurchaseReceipts;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 马
* @description 针对表【purchase_receipts】的数据库操作Service
* @createDate 2024-02-27 11:30:50
*/
public interface PurchaseReceiptsService extends IService<PurchaseReceipts> {

    Result purchaseList();

    Result adminCheck(String receiptsId, String receiptsStatus);

    Result financeCheck(String receiptsId, String receiptsStatus);

    Result apply(PurchaseReceiptsDto purchaseReceiptsDto);

    Result purchaseReceiptsInfo(String receiptsId);

    Result applyInbound(String productIds);

    Result selectCheck(Integer page, Integer size);

    Result applyCheck (String receiptsId, String status);

    Result getPurchaseReceiptsList(PurchaseReceiptsDto purchaseReceiptsDto);

    Result applyPurchaseReceipts(PurchaseReceiptsDto purchaseReceiptsDto);

    Result deletePurchaseReceipts(PurchaseReceiptsDto purchaseReceiptsDto);
}
